package org.dromara.system.domain.vo;

import org.dromara.system.domain.WbItemFile;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 项目附件视图对象 wb_item_file
 *
 * @author Lion Li
 * @date 2024-03-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WbItemFile.class)
public class WbItemFileVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 项目附件ID
     */
    @ExcelProperty(value = "项目附件ID")
    private Long ossId;

    /**
     * 项目ID
     */
    @ExcelProperty(value = "项目ID")
    private Long itemId;

    private Long companyId;

    private Long productId;

    /**
     * 附件名称
     */
    @ExcelProperty(value = "附件名称")
    private String fileName;

    @ExcelProperty(value = "原始附件名称")
    private String fileOriginalName;

    /**
     * 附件类型
     */
    @ExcelProperty(value = "附件类型")
    private Long fileType;

    /**
     * 地址
     */
    @ExcelProperty(value = "地址")
    private String url;

    /**
     * 附件大小
     */
    @ExcelProperty(value = "附件大小")
    private Long fileSize;


}
